# coding=utf-8
from distutils.core import setup
import py2exe
import sys

if len(sys.argv) == 1:
    sys.argv.append("py2exe")
options={
    "py2exe":{
        "bundle_files": 1,
        "includes": [
            "encodings", "encodings.*",
            "bs4",
            "MySQLdb",
            "os",
            "time",
            "urllib2",
            "datetime",
            "warnings",
            "traceback",]
    }}

setup(
    name='GetSomething',
    version='1.0',
    description='一个简单的抓取数据的工具'.decode('utf-8'),
    author='Missuor'.decode('utf-8'),
    url='http://www.Missuor.com',
    options=options,
    console=[{
        'script': 'GetSomething.py',
        'icon_resources': [(1, 'love_64.ico')],
        'copyright': 'Copyright (C) Missuor.com , All rights reserved.',
    }],
    zipfile=None,
)
